You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Brien%'' at line 1 SELECT count(*) as cnt FROM ero WHERE titel LIKE '% Also%' AND titel LIKE '%desnuda%' AND titel LIKE '%in%' AND titel LIKE '%this%' AND titel LIKE '%Scene:%' AND titel LIKE '%Shauna%' AND titel LIKE '%O'Brien%' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Brien%' ORDER BY titel, alt ASC LIMIT 0, 15' at line 1 SELECT * FROM ero WHERE titel LIKE '% Also%' AND titel LIKE '%desnuda%' AND titel LIKE '%in%' AND titel LIKE '%this%' AND titel LIKE '%Scene:%' AND titel LIKE '%Shauna%' AND titel LIKE '%O'Brien%' ORDER BY titel, alt ASC LIMIT 0, 15